<script>
  // 编译成app.js
  export default {
    onLaunch: function (options) {
      console.log('App Launch- 应用启动', options)
      if (options.scene === 1011) {
        console.log('从扫码进入')
      } else if (options.scene === 1001) {
        console.log('从发现进入')
      }
    },
    onShow: function () {
      console.log('App Show - 应用切前台(显示)')
    },
    onHide: function () {
      console.log('App Hide- 应用切后台(隐藏)')
    },
  }
</script>

<style lang="scss">
  @import '@/static/fonts/iconfont.css';
  /* 多色图标 */
  @import '@/static/iconfont-weapp-icon.css';
  /*每个页面公共css */
  page {
    background-color: $uni-bg-color-grey;
  }
</style>
